package com.gxa.autoparts.admin.mapper;

import com.gxa.autoparts.core.pojo.Permission;
import tk.mybatis.mapper.common.Mapper;

import java.util.List;

public interface PermissionMapper extends Mapper<Permission> {
    Permission selectPermissionById(Long id);
    List<Permission> selectAllPermission();
    void insertPermission(Permission permission);
}
